10. plc parameter & device range
你好。
Hello.
在本教程中,在编写其他指令之前或在使用其他指令(例如定时器和计数器以及其他完整的编程指令)之前,我们需要知道如何知道什么是重要的或设备范围是什么或设备范围是什么X 或输入或输出或区域或数据寄存器。
In this tutorial before to write another instructions or before to use and other instructions like a timer and counters and other complete programming instructions, we need to know how we know what is important or what is the device range or what is the device range of the X or inputs or outputs or the area or data registers.
也许您想知道我使用的是 M10 还是 M12,或者我使用的是 11 或 111。
Maybe you are wondering I'm using M10 or I'm using M12, or I am using an 11 or 111.
但根据什么?
But according to what?
进入左侧,你会看到参数OK。
Into the left side, you will see the parameter OK.
在这个参数中,您将看到我们可以从这里选择的策略参数和策略程序的内存容量。
And into this parameter, you will see the policy parameters and the memory capacity of the policy program that we can select from here.
但程序容量不能改变,因为它是八千步f x 2。
But the program capacity cannot be changed because it is eight thousand step f x two.
然后这是我的CPU类型。
And then this is the CPU type of mine.
如果是凌晨二点四八分啊,进入设备区。
And if it's two one four eight am ah and into the device area.
这是一个关键点,对于定时器来说,我们有 256 个定时器可用,我们可以使用 256 个不同的定时器,它从定时器 0 开始,到定时器 255 结束。
This is a critical point and for the timer's, then we have 256 timer is available and we can use 256 different timer and it start from timer zero and it is finish timer 255.
例如,我可以使用任何位 OK,补充或内部继电器,我们可以说我们可以开始使用继电器和零,结束继电器是 M 3071 或计数器 32 位或 16 位或将语句放入政策计划。
For example, I can use any bits OK, supplemental or internal relay that we can say we can start to use and relays and zero and the end end relay is M three thousand seventy one or counter 32 bit or 16 bit or the statements into the policy program.
您可以看到起点和终点。
You can see starting point and end point.
让我们开始吧,这很重要。
And let's start and this is important.
让我们开始吧是什么?
What is the let's start?
让我们的意思是,当政策权力关闭时,将数据保留在KLC我的记忆中,当能量消失或政策权力关闭的那一刻,保留私刑区域将被清除为零。
Let's means keep the data into KLC my memory when the policy power is off, when the energy is gone or policy is powered of that moment, hold on lynching areas will be cleared to zero.
但让我们开始吧。
But let's start.
或者我可以说,例如,数据寄存器变为零,但也称为M继电器,例如零解锁继电器,因此它也会被重置为A.L.S.。
Or I can say, for example, data registers becomes zero, but also alleged M relays, for example, zero unlatched relay, so it will be also reset a venue powered on again to be A.L.S..
你看不到M Zero打开或穿过或一,但是当电源再次打开时,我们认为因为它是一个区域,所以它会是一个区域。
You can't see M Zero was on or through or one, but when the power on again, we thought because of it is an area that it will be.
重置它,对数据寄存器来说OK,例如,200将被保留,或者204 50将成为剩余区域,因为它是让我们开始和结束,但我可以使用,例如,八千。
Reset it, OK for the data register, for example, the 200 will be remain or the 204 50 is going to be remainder area because it is let's start and end, but I can use, for example, say, eight thousand.
不同的数据寄存器,比如说如果你是工作DS,比如说我可以说100,好吧,100在断电的时候会被清零,而断电到200左右是不会被清零的。
Different data register, for example, if you are working DS, for example, I can say 100, OK, the 100 will be cleared when the power of and power to about 200 is not going to be cleared to zero.
好的。
OK.
设备区域非常重要,我们要了解可以在这些 TLC 类型空间中使用多少个继电器内部战争、补充延迟或定时器或计数或数据寄存器。
Device area is important that we are understanding how many relay internal war, supplemental delay or timer or count or data registers that we can use into these TLC type into the spaces.
我们可以给这个政策起一个名字。
We can give a name to this policy.
我们可以在这里看到输入和输出分配以及运行我们可以设置的终端输入的策略系统,例如零。
We can see into here input and output assignment and the policy system that run terminal terminal input that we can set, for example, a zero.
如果分配给运行终端输入,则策略将在 X0 激活且系统两个时运行。
If assigned to run terminal input, then policy will be run when X0 will be active and the system two.
这是通讯设置区域。
And this is the communication settings area.
但我现在不打算谈论它。
But I'm not going to talk about it now.
那么这就是我们需要了解的设备区域。
Then this is the device area that we need to know.
就目前而言,这非常重要。
For a moment, this is very important.
当您尝试编写一项名为您自己的政策时。
And while you are trying to write a policy called it yourself.
如果您认为哪个是模拟的,我可以使用单位转到 PC 参数单元转到设备部分,您可以看到其他任何内容。
And if you think which emulated, I can use unit to go to PC parameter unit to go to device section and you can see anything else.
好的。
OK.
现在我将关闭它,本教程就完成了。
And I will close this now, and I am finished for this tutorial.
在下一个教程中再见?
See you in the next tutorial?